Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Failure Mid August 2024 #1690

Closed
traversaro opened this issue Aug 14, 2024 · 3 comments
Closed

Global Failure Mid August 2024 #1690

traversaro opened this issue Aug 14, 2024 · 3 comments

Comments

@traversaro
Copy link
Member

All jobs are failing, despite my tests robotology/ycm-cmake-modules#457 broke everything:

[7/480] Performing download step for 'OsqpEigen'
FAILED: src/OsqpEigen/CMakeFiles/YCMStamp/OsqpEigen-download /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/OsqpEigen/CMakeFiles/YCMStamp/OsqpEigen-download 
cd /home/runner/work/robotology-superbuild/robotology-superbuild/src && /home/runner/miniconda3/envs/test/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/OsqpEigen/CMakeFiles/YCMTmp/OsqpEigen-gitsafeclone.cmake && /home/runner/miniconda3/envs/test/bin/cmake -E touch /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/OsqpEigen/CMakeFiles/YCMStamp/OsqpEigen-download
Cloning into 'OsqpEigen'...
Already on 'master'
Your branch is up to date with 'origin/master'.
Error copying file "/OsqpEigen-gitinfo.txt" to "/OsqpEigen-gitsafeclone-lastrun.txt".
CMake Error at /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/OsqpEigen/CMakeFiles/YCMTmp/OsqpEigen-gitsafeclone.cmake:150 (message):
  Failed to copy script-last-run stamp file:
  '/OsqpEigen-gitsafeclone-lastrun.txt'


[8/480] Performing download step for 'RobotTestingFramework'
FAILED: src/RobotTestingFramework/CMakeFiles/YCMStamp/RobotTestingFramework-download /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/RobotTestingFramework/CMakeFiles/YCMStamp/RobotTestingFramework-download 
cd /home/runner/work/robotology-superbuild/robotology-superbuild/src && /home/runner/miniconda3/envs/test/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/RobotTestingFramework/CMakeFiles/YCMTmp/RobotTestingFramework-gitsafeclone.cmake && /home/runner/miniconda3/envs/test/bin/cmake -E touch /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/RobotTestingFramework/CMakeFiles/YCMStamp/RobotTestingFramework-download
Cloning into 'RobotTestingFramework'...
Already on 'master'
Your branch is up to date with 'origin/master'.
Error copying file "/RobotTestingFramework-gitinfo.txt" to "/RobotTestingFramework-gitsafeclone-lastrun.txt".
CMake Error at /home/runner/work/robotology-superbuild/robotology-superbuild/b/src/RobotTestingFramework/CMakeFiles/YCMTmp/RobotTestingFramework-gitsafeclone.cmake:150 (message):
  Failed to copy script-last-run stamp file:
  '/RobotTestingFramework-gitsafeclone-lastrun.txt'

@traversaro
Copy link
Member Author

If you are experiencing this, for a quick workaround set YCM_TAG to v0.16.6.

@traversaro
Copy link
Member Author

24.04 (CMake 3.28) builds are failing with:

CMake Error at build/_deps/ycm-src/modules/YCMEPHelper.cmake:1189 (_ep_get_tls_version):
  Unknown CMake command "_ep_get_tls_version".
Call Stack (most recent call first):
  cmake/BuildYCM.cmake:8 (ycm_ep_helper)
  build/_deps/ycm-src/modules/FindOrBuildPackage.cmake:205 (include)
  cmake/BuildYARP.cmake:8 (find_or_build_package)
  build/_deps/ycm-src/modules/FindOrBuildPackage.cmake:205 (include)
  cmake/RobotologySuperbuildLogic.cmake:68 (find_or_build_package)
  CMakeLists.txt:68 (include)

pixi (CMake 3.30.2):

✨ Pixi task (build): cmake --build .build --config Release --parallel 1
[2/64] Performing download step for 'YCM'
FAILED: src/YCM/CMakeFiles/YCMStamp/YCM-download /home/traversaro/robotology-superbuild/.build/src/YCM/CMakeFiles/YCMStamp/YCM-download
cd /home/traversaro/robotology-superbuild/src && /home/traversaro/robotology-superbuild/.pixi/envs/default/bin/cmake -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P /home/traversaro/robotology-superbuild/.build/src/YCM/CMakeFiles/YCMTmp/YCM-gitsafeclone.cmake && /home/traversaro/robotology-superbuild/.pixi/envs/default/bin/cmake -E touch /home/traversaro/robotology-superbuild/.build/src/YCM/CMakeFiles/YCMStamp/YCM-download
Cloning into 'YCM'...
Already on 'master'
Your branch is up to date with 'origin/master'.
Error copying file "/YCM-gitinfo.txt" to "/YCM-gitsafeclone-lastrun.txt".
CMake Error at /home/traversaro/robotology-superbuild/.build/src/YCM/CMakeFiles/YCMTmp/YCM-gitsafeclone.cmake:150 (message):
  Failed to copy script-last-run stamp file: '/YCM-gitsafeclone-lastrun.txt'


ninja: build stopped: subcommand failed.

the tricky aspect is that the failure is just on the first run, so to actually reproduce you need to:

rm -rf ./.build
rm -rf ./src
pixi run build

@traversaro
Copy link
Member Author

Fixed by robotology/ycm-cmake-modules#458 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant