[ITK] [ITK-dev] mug ITK Nightly non-zero return value in ctest

Matt McCormick matt.mccormick at kitware.com
Fri May 20 10:45:40 EDT 2016


Thanks for the note.

Anecdotally, I have also encountered this error:

> C:/Program Files (x86)/Windows Kits/8.1/bin/x86/mt.exe : general error
c101008d: Failed to
 write the updated manifest to the resource of file
"bin\ITKIOPNGTestDriver.exe". The syst
em cannot open the device or file specified.
MT failed.

when using ninja. I did not find the underlying cause, but I did find
that using a different shell (Git Bash vs a shell within ConEmu)
helped. A Google search identifies this behavior with anti-virus
checker interference.

Thanks,
Matt

On Fri, May 20, 2016 at 10:29 AM, David Cole <DLRdave at aol.com> wrote:
> I do not know. There must be some sort of build error which ctest is
> not properly detecting.
>
> The log of the stderr shows only "Error(s) when building project":
>
> ElapsedTime='0' delta='0' context='EasyDashboardVariables-TopOfScript'
> ElapsedTime='0' delta='0' context='EasyDashboardVariables-BottomOfScript'
> ElapsedTime='0' delta='0' context='EasyDashboard-TopOfScript'
> ElapsedTime='0' delta='0' context='before
> CTEST_EMPTY_BINARY_DIRECTORY("C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release")'
> ElapsedTime='49' delta='49' context='after
> CTEST_EMPTY_BINARY_DIRECTORY("C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release")'
> ElapsedTime='49' delta='0' context='before CTEST_START("Nightly" )'
> ElapsedTime='49' delta='0' context='after CTEST_START("Nightly" )'
> ElapsedTime='49' delta='0' context='before CTEST_UPDATE("C:/n/r/ITK")'
> ElapsedTime='113' delta='64' context='after CTEST_UPDATE("C:/n/r/ITK")'
> ElapsedTime='113' delta='0' context='before
> CTEST_CONFIGURE("C:/n/r/Nightly/ITK Win32-ninja-cl12-Release")'
> ElapsedTime='370' delta='257' context='after
> CTEST_CONFIGURE("C:/n/r/Nightly/ITK Win32-ninja-cl12-Release")'
> ElapsedTime='370' delta='0' context='before
> CTEST_READ_CUSTOM_FILES("C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release")'
> ElapsedTime='370' delta='0' context='after
> CTEST_READ_CUSTOM_FILES("C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release")'
> BullseyeCoverage Build Enable/Disable 8.8.11 Windows License 9529
>
> Copyright (c) Bullseye Testing Technology 1990-2014
>
> ElapsedTime='370' delta='0' context='before
> CTEST_SUBMIT(PARTS;Notes;Update;Configure)'
> ElapsedTime='372' delta='2' context='after
> CTEST_SUBMIT(PARTS;Notes;Update;Configure)'
> ElapsedTime='372' delta='2' context='before
> CTEST_BUILD("C:/n/r/Nightly/ITK Win32-ninja-cl12-Release")'
> Error(s) when building project
> ElapsedTime='615' delta='243' context='after
> CTEST_BUILD("C:/n/r/Nightly/ITK Win32-ninja-cl12-Release")'
> ElapsedTime='615' delta='0' context='before CTEST_SUBMIT(PARTS;Build)'
> ElapsedTime='615' delta='0' context='after CTEST_SUBMIT(PARTS;Build)'
> ElapsedTime='615' delta='0' context='before
> CTEST_TEST("C:/n/r/Nightly/ITK Win32-ninja-cl12-Release"
> PARALLEL_LEVEL;4)'
> Unable to find executable: C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release/bin/ITKImageNoiseTestDriver.exe
> Unable to find executable: C:/n/r/Nightly/ITK
> Win32-ninja-cl12-Release/bin/ITKImageNoiseTestDriver.exe
> ...
> thousands more lines like this
> ...
>
>
> I tried rebuilding manually, and got this error:
>
> [1894/3315] Linking CXX executable bin\ITKIOPNGTestDriver.exe
> FAILED: cmd.exe /C "cd . && "C:\Program Files
> (x86)\CMake\bin\cmake.exe" -E vs_link_exe C:
> \PROGRA~2\MICROS~2.0\VC\bin\link.exe /nologo
> Modules\IO\PNG\test\CMakeFiles\ITKIOPNGTestDr
> iver.dir\ITKIOPNGTestDriver.cxx.obj
> Modules\IO\PNG\test\CMakeFiles\ITKIOPNGTestDriver.dir\
> itkPNGImageIOTest.cxx.obj
> Modules\IO\PNG\test\CMakeFiles\ITKIOPNGTestDriver.dir\itkPNGImag
> eIOTest2.cxx.obj  /out:bin\ITKIOPNGTestDriver.exe
> /implib:lib\ITKIOPNGTestDriver.lib /pdb:
> bin\ITKIOPNGTestDriver.pdb /version:0.0  /machine:X86  /INCREMENTAL:NO
> /subsystem:console
>  lib\ITKIOPNG-4.10.lib lib\ITKCommon-4.10.lib
> lib\itkdouble-conversion-4.10.lib lib\ITKIOB
> MP-4.10.lib lib\ITKIOGDCM-4.10.lib lib\ITKIOGIPL-4.10.lib
> lib\ITKIOImageBase-4.10.lib lib\
> ITKIOJPEG-4.10.lib lib\ITKIOMeta-4.10.lib lib\ITKIONIFTI-4.10.lib
> lib\ITKIONRRD-4.10.lib l
> ib\ITKIOPNG-4.10.lib lib\ITKIOTIFF-4.10.lib lib\ITKIOVTK-4.10.lib
> lib\itksys-4.10.lib lib\
> ITKCommon-4.10.lib lib\itkdouble-conversion-4.10.lib
> lib\ITKIOBMP-4.10.lib lib\ITKIOGDCM-4
> .10.lib lib\ITKIOGIPL-4.10.lib lib\ITKIOImageBase-4.10.lib
> lib\ITKIOJPEG-4.10.lib lib\ITKI
> OMeta-4.10.lib lib\ITKIONIFTI-4.10.lib lib\ITKIONRRD-4.10.lib
> lib\ITKIOPNG-4.10.lib lib\IT
> KIOTIFF-4.10.lib lib\ITKIOVTK-4.10.lib lib\itksys-4.10.lib
> lib\itkpng-4.10.lib lib\itkgdcm
> MSFF-4.10.lib lib\itkgdcmDICT-4.10.lib lib\itkgdcmIOD-4.10.lib
> lib\itkgdcmDSED-4.10.lib li
> b\itkgdcmCommon-4.10.lib crypt32.lib lib\ITKEXPAT-4.10.lib
> lib\itkgdcmjpeg8-4.10.lib lib\i
> tkgdcmjpeg12-4.10.lib lib\itkgdcmjpeg16-4.10.lib
> lib\itkgdcmopenjpeg-4.10.lib lib\itkgdcmc
> harls-4.10.lib rpcrt4.lib lib\ITKMetaIO-4.10.lib comctl32.lib
> wsock32.lib lib\ITKniftiio-4
> .10.lib lib\ITKznz-4.10.lib lib\ITKTransform-4.10.lib
> lib\ITKNrrdIO-4.10.lib lib\itktiff-4
> .10.lib lib\itkzlib-4.10.lib lib\itkjpeg-4.10.lib
> lib\ITKIOImageBase-4.10.lib lib\ITKCommo
> n-4.10.lib lib\itkdouble-conversion-4.10.lib lib\itksys-4.10.lib
> ws2_32.lib Psapi.lib lib\
> ITKVNLInstantiation-4.10.lib lib\itkvnl_algo-4.10.lib
> lib\itkvnl-4.10.lib lib\itkv3p_netli
> b-4.10.lib lib\itknetlib-4.10.lib lib\itkvcl-4.10.lib kernel32.lib
> user32.lib gdi32.lib wi
> nspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
> advapi32.lib && cd ."
>
> C:/Program Files (x86)/Windows Kits/8.1/bin/x86/mt.exe : general error
> c101008d: Failed to
>  write the updated manifest to the resource of file
> "bin\ITKIOPNGTestDriver.exe". The syst
> em cannot open the device or file specified.
> MT failed. with 31
> [1894/3315] Building CXX object
> Modules\IO\...AWTestDriver.dir\ITKIORAWTestDriver.cxx.obj
> ninja: build stopped: subcommand failed.
>
>
> HTH,
> David C.
>
>
> On Thu, May 19, 2016 at 2:14 PM, Matt McCormick
> <matt.mccormick at kitware.com> wrote:
>> Hi Dave,
>>
>> Thanks for submitting the ITK Windows Nightly.  Sometime we are
>> getting the opaque build error:
>>
>>   *** WARNING non-zero return value in ctest from: C:\Program Files
>> (x86)\CMake\bin\cmake.exe
>>
>> https://open.cdash.org/viewBuildError.php?type=1&buildid=4372761
>>
>> Do you know what is happening with this build?
>>
>> Thanks,
>> Matt
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers


More information about the Community mailing list