Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Industrial CI CMake tests error

未关闭
#7 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
cmake
领域
ci-cd, testing

调研方向

首先在 ros2-combined-microros 工作空间中重现报告的命令,重点检查 /root/target_ws/src/rosbot_ros/src/micro_ros_msgs 及其 ament copyright 测试。检查为什么预期存在 CONTRIBUTING.md 但它缺失,然后重新运行 colcon test-result --verbose;当 micro_ros_msgs copyright 测试报告没有失败时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

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
  >>>
主要语言
CMake
星标
15
派生
25
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。