Closed christophebedard closed 2 years ago
ci.ros2.org seems to install cppcheck version 1.90: https://github.com/ros-infrastructure/ros2-cookbooks/blob/de9d4cc159f2c4402e4636c458ad4bc535d0610d/cookbooks/ros2_windows/recipes/chocolatey_installs.rb#L11
This is also the version I have on my Ubuntu 20.04 system, so we could pin to that.
The fix was released as 0.3.4: https://github.com/ros-tooling/setup-ros/releases/tag/0.3.4
FYI @wayneparrott
Description
setup-ros
uses chocolatey to install some dependencies, including cppcheck.Expected Behavior
cppcheck is installed correctly, the action keeps going.
Actual Behavior
Job fails at the chocolatey install step: https://github.com/ros-tooling/action-ros-ci/runs/6579049120?check_suite_focus=true#step:5:29
To Reproduce
Run action on Windows.
System (please complete the following information)
Additional context
This worked fine yesterday for ros-tooling/action-ros-ci#749, but it was installing cppcheck 2.7
https://github.com/ros-tooling/action-ros-ci/runs/6562956458?check_suite_focus=true#step:5:29
It's now trying to install cppcheck 2.8 and failing:
https://github.com/ros-tooling/action-ros-ci/runs/6579049120?check_suite_focus=true#step:5:29
Exit code 3010 seems to mean that the system should be rebooted:
https://github.com/ros-tooling/action-ros-ci/runs/6579049120?check_suite_focus=true#step:5:94
Not sure why it's now happening with version 2.8, but we could probably pin cppcheck to 2.7.