紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
No module named 'ament_cmake_test'
-
<?xml version="1.0" encoding="UTF-8"?> <Site BuildName="(empty)" BuildStamp="20230413-1424-Experimental" Name="20" Generator="ctest-3.16.3" CompilerName="/usr/bin/c++" CompilerVersion="9.4.0" OSName="Linux" Hostname="20" OSRelease="5.15.0-69-generic" OSVersion="#76~20.04.1-Ubuntu SMP Mon Mar 20 15:54:19 UTC 2023" OSPlatform="x86_64" Is64Bits="1" VendorString="AuthenticAMD" VendorID="Advanced Micro Devices" FamilyID="25" ModelID="80" ProcessorCacheSize="512" NumberOfLogicalCPU="16" NumberOfPhysicalCPU="8" TotalVirtualMemory="2047" TotalPhysicalMemory="15398" LogicalProcessorsPerPhysical="2" ProcessorClockFrequency="3602.64" > <Testing> <StartDateTime>Apr 13 22:24 CST</StartDateTime> <StartTestTime>1681395895</StartTestTime> <TestList> <Test>./copyright</Test> <Test>./cppcheck</Test> <Test>./cpplint</Test> <Test>./flake8</Test> <Test>./lint_cmake</Test> <Test>./pep257</Test> <Test>./uncrustify</Test> <Test>./xmllint</Test> </TestList> <Test Status="failed"> <Name>copyright</Name> <Path>.</Path> <FullName>./copyright</FullName> <FullCommandLine>/home/liumuran/miniconda3/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/copyright.xunit.xml" "--package-name" "scout_base" "--output-file" "/home/liumuran/ros2_ws/build/scout_base/ament_copyright/copyright.txt" "--command" "/opt/ros/foxy/bin/ament_copyright" "--xunit-file" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/copyright.xunit.xml"</FullCommandLine> <Results> <NamedMeasurement type="text/string" name="Exit Code"> <Value>Failed</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Exit Value"> <Value>1</Value> </NamedMeasurement> <NamedMeasurement type="numeric/double" name="Execution Time"> <Value>0.00982445</Value> </NamedMeasurement> <NamedMeasurement type="numeric/double" name="Processors"> <Value>1</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Completion Status"> <Value>Completed</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Command Line"> <Value>/home/liumuran/miniconda3/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/copyright.xunit.xml" "--package-name" "scout_base" "--output-file" "/home/liumuran/ros2_ws/build/scout_base/ament_copyright/copyright.txt" "--command" "/opt/ros/foxy/bin/ament_copyright" "--xunit-file" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/copyright.xunit.xml"</Value> </NamedMeasurement> <Measurement> <Value>Traceback (most recent call last): File "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py", line 19, in <module> import ament_cmake_test ModuleNotFoundError: No module named 'ament_cmake_test' </Value> </Measurement> </Results> <Labels> <Label>copyright</Label> <Label>linter</Label> </Labels> </Test> <Test Status="failed"> <Name>cppcheck</Name> <Path>.</Path> <FullName>./cppcheck</FullName> <FullCommandLine>/home/liumuran/miniconda3/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/cppcheck.xunit.xml" "--package-name" "scout_base" "--output-file" "/home/liumuran/ros2_ws/build/scout_base/ament_cppcheck/cppcheck.txt" "--command" "/opt/ros/foxy/bin/ament_cppcheck" "--xunit-file" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/cppcheck.xunit.xml" "--include_dirs" "/home/liumuran/ros2_ws/src/scout_ros2/scout_base/include"</FullCommandLine> <Results> <NamedMeasurement type="text/string" name="Exit Code"> <Value>Failed</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Exit Value"> <Value>1</Value> </NamedMeasurement> <NamedMeasurement type="numeric/double" name="Execution Time"> <Value>0.00793413</Value> </NamedMeasurement> <NamedMeasurement type="numeric/double" name="Processors"> <Value>1</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Completion Status"> <Value>Completed</Value> </NamedMeasurement> <NamedMeasurement type="text/string" name="Command Line"> <Value>/home/liumuran/miniconda3/bin/python3 "-u" "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/cppcheck.xunit.xml" "--package-name" "scout_base" "--output-file" "/home/liumuran/ros2_ws/build/scout_base/ament_cppcheck/cppcheck.txt" "--command" "/opt/ros/foxy/bin/ament_cppcheck" "--xunit-file" "/home/liumuran/ros2_ws/build/scout_base/test_results/scout_base/cppcheck.xunit.xml" "--include_dirs" "/home/liumuran/ros2_ws/src/scout_ros2/scout_base/include"</Value> </NamedMeasurement> <Measurement> <Value>Traceback (most recent call last): File "/opt/ros/foxy/share/ament_cmake_test/cmake/run_test.py", line 19, in <module> import ament_cmake_test ModuleNotFoundError: No module named 'ament_cmake_test'
colcon test 报错。已检查已安装ament_cmake_test. 如何解决 谢谢
-