micro-ROS / micro-ROS/micro_ros_msgs

Industrial CI CMake tests error

Open
#7 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CMake
Stars
15
Forks
24
Avg merge
16m
Merged PRs (30d)
4

Description

Attaching the repository to workspace https://github.com/husarion/rosbot_ros/tree/ros2-combined-microros with industrial CI doesn't pass tests:

$ ( source /opt/ros/humble/setup.bash && cd /root/target_ws && colcon test-result --verbose; )
build/micro_ros_msgs/Testing/20231205-1159/Test.xml: 3 tests, 0 errors, 1 failure, 0 skipped
- copyright
  <<< failure message
    -- run_test.py: invoking following command in '/root/target_ws/src/rosbot_ros/src/micro_ros_msgs':
     - /opt/ros/humble/bin/ament_copyright --xunit-file /root/target_ws/build/micro_ros_msgs/test_results/micro_ros_msgs/copyright.xunit.xml
    CONTRIBUTING.md: file not found
    1 errors, checked 2 files
    -- run_test.py: return code 1
    -- run_test.py: verify result file '/root/target_ws/build/micro_ros_msgs/test_results/micro_ros_msgs/copyright.xunit.xml'
  >>>
build/micro_ros_msgs/test_results/micro_ros_msgs/copyright.xunit.xml: 2 tests, 0 errors, 1 failure, 0 skipped
- micro_ros_msgs.copyright CONTRIBUTING.md
  <<< failure message
    file not found
  >>>

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported command in the ros2-combined-microros workspace, focusing on /root/target_ws/src/rosbot_ros/src/micro_ros_msgs and its ament copyright test. Check why CONTRIBUTING.md is expected but missing, then rerun colcon test-result --verbose; done means the micro_ros_msgs copyright test reports no failures.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
ci-cd, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.