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

Github CI on rolling/iron missing tests which causes build farm failures #450

Open
Ryanf55 opened this issue Feb 20, 2024 · 1 comment
Open
Assignees
Labels
bug ci Continuous Integration ros2 Affects ROS 2
Milestone

Comments

@Ryanf55
Copy link
Collaborator

Ryanf55 commented Feb 20, 2024

CI missed a regression that the ROS build farm caught this. The backport to humble caught the failure. I'm not sure what is causing the inconsistency.

-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
---
--- stderr: grid_map_costmap_2d
CMake Error at /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable):
  Target "grid_map_costmap_2d-test" links to target
  "nav2_costmap_2d::nav2_costmap_2d_core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable)
  /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable)
  test/CMakeLists.txt:1 (ament_add_gtest)


CMake Error at /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:50 (add_executable):
  Target "costmap-2d-ros-test" links to target
  "nav2_costmap_2d::nav2_costmap_2d_core" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?
Call Stack (most recent call first):
  /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest_executable.cmake:37 (_ament_add_gtest_executable)
  /opt/ros/iron/share/ament_cmake_gtest/cmake/ament_add_gtest.cmake:68 (ament_add_gtest_executable)
  test/CMakeLists.txt:10 (ament_add_gtest)

Originally posted by @Ryanf55 in #448 (comment)

@Ryanf55 Ryanf55 added bug ros2 Affects ROS 2 ci Continuous Integration labels Feb 20, 2024
@Ryanf55 Ryanf55 self-assigned this Feb 20, 2024
@Ryanf55 Ryanf55 added this to the 2.2.0 milestone Feb 20, 2024
@Ryanf55
Copy link
Collaborator Author

Ryanf55 commented Feb 25, 2024

Perhaps related to using testing images in CI, but the build farm using stable.
https://docs.ros.org/en/rolling/Installation/Testing.html#debian-testing-repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ci Continuous Integration ros2 Affects ROS 2
Projects
None yet
Development

No branches or pull requests

1 participant