[CXX-1335] Task log should show detailed error when example program fails while running under MSVC Created: 06/May/17  Updated: 08/Feb/23

Status: Backlog
Project: C++ Driver
Component/s: Continuous Integration
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File example_log.txt    
Epic Link: CXX Driver Testing (Evergreen)

 Description   

Currently, when one of the example programs fails to run successfully under MSVC, a message like the following is printed to the task log:

 [2017/05/05 19:50:37.494] "C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj" (default target) (1) ->
 [2017/05/05 19:50:37.494] (PostBuildEvent target) -> 
 [2017/05/05 19:50:37.495]   C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: The command "setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\aggregate.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\bulk_write.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\connect.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\create.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\document_validation.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.495] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\get_values_from_documents.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: setlocal [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: mongocxx\Release\gridfs.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.496] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
...
...
...
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: bsoncxx\Release\view_and_value.exe [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmErrorLevel [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: exit /b %1 [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :cmDone [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.498] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd" exited with code -1073741819. [C:\data\mci\8293e52227a31da750e6347dfe3ca50d\mongo-cxx-driver\build\examples\run-examples.vcxproj]
 [2017/05/05 19:50:37.499] 
 [2017/05/05 19:50:37.499]     0 Warning(s)
 [2017/05/05 19:50:37.499]     1 Error(s)
 [2017/05/05 19:50:37.499] 
 [2017/05/05 19:50:37.499] Time Elapsed 00:00:02.34
 [2017/05/05 19:50:37.510] Command failed: exit status 1
 [2017/05/05 19:50:37.510] Task completed - FAILURE.

In particular, the task log gives no indication of either of the following, both of which are crucial to diagnose failure in the example programs:

  • Which example program failed.
  • If an exception was thrown, what the exception type and message are.

We should make this information available via the task logs.



 Comments   
Comment by J Rassi [ 06/May/17 ]

Attached full task log of a task exhibiting this error.

Generated at Wed Feb 07 22:02:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.