robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
50 stars 22 forks source link

YCMBootstrap-not-use-system and YCMBootstrap-disable-find test fail on conda-forge packaging CI #382

Open traversaro opened 3 years ago

traversaro commented 3 years ago

Not a big issue (I can disable the failing tests, but the YCMBootstrap-not-use-system and YCMBootstrap-disable-find tests are failing on Windows/macOS/Linux conda-forge packaging CI. For example, on Linux the test failures are:

Cloning into 'YCM'...
fatal: invalid reference: v..
CMake Error at external/YCM/CMakeFiles/YCMTmp/YCM-gitclone.cmake:117 (message):
  Failed to checkout tag: 'v..'

CMake Error at $SRC_DIR/build/tests/YCMBootstrap-not-use-system/CMakeFiles/YCMEPHelper.cmake:1369 (message):
  Cannot clone YCM repository (1)
Call Stack (most recent call first):
  $SRC_DIR/build/tests/YCMBootstrap-not-use-system/cmake/YCMBootstrap.cmake:114 (ycm_bootstrap)
  CMakeLists.txt:97 (include)

Configuring incomplete, errors occurred!
See also "$SRC_DIR/build/tests/YCMBootstrap-not-use-system/CMakeFiles/CMakeOutput.log".

      Start  6: YCMBootstrap-disable-find
 6/10 Test  #6: YCMBootstrap-disable-find .........***Failed    0.26 sec
Internal cmake changing into directory: $SRC_DIR/build/tests/YCMBootstrap-disable-find
Error: cmake execution failed
Not a git repository
Using YCM_TAG = "v.."
Using YCM_STYLE = ""
Using YCM_REPOSITORY = ""
YCM not found. Bootstrapping it.
Downloading YCMEPHelper.cmake - Attempt 1 of 3
Downloading YCMEPHelper.cmake - SUCCESS
Downloading CMakeParseArguments.cmake - Attempt 1 of 3
Downloading CMakeParseArguments.cmake - SUCCESS
Downloading ExternalProject.cmake - Attempt 1 of 3
Configuring incomplete, errors occurred!
See also "$SRC_DIR/build/tests/YCMBootstrap-disable-find/CMakeFiles/CMakeOutput.log".

Just on macOS, also RunCMake.IncludeUrl is failing:

 8/10 Test  #8: RunCMake.IncludeUrl ...............***Failed   11.63 sec
-- IncludeUrl_url - PASSED
-- IncludeUrl_DESTINATION - PASSED
-- IncludeUrl_QUIET - PASSED
   actual-err> 
   actual-err> 
   actual-err> CMake Error at IncludeUrl_script.cmake:13 (message):
   actual-err>   include_url: ERROR (script returned an error)
   actual-err> Call Stack (most recent call first):
   actual-err>   CMakeLists.txt:4 (include)

Call Stack (most recent call first):
  $SRC_DIR/tests/RunCMake/IncludeUrl/RunCMakeTest.cmake:24 (run_cmake)

-- IncludeUrl_ERROR_url - PASSED
-- IncludeUrl_ERROR_RETRIES_lessthanone - PASSED
-- IncludeUrl_ERROR_RETRIES_notanumber - PASSED
-- IncludeUrl_ERROR_MD5 - PASSED
-- IncludeUrl_ERROR_SHA1 - PASSED
-- IncludeUrl_ERROR_script - PASSED
traversaro commented 3 years ago

Linux logs: https://github.com/conda-forge/staged-recipes/runs/2913069235 macOS logs: https://github.com/conda-forge/staged-recipes/runs/2913069047 Windows logs: https://github.com/conda-forge/staged-recipes/runs/2913069121