ros-tooling/action-ros-ci

Windows CI fails without a helpful error message

nnmm opened this issue · 2 comments

nnmm commented

Description

When running on Windows, action-ros-ci fails without a clear cause (at least, it's not clear to me).

Expected Behavior

The build and test step, which uses action-ros-ci, succeeds or prints something helpful.

Actual Behavior

The build and test step just prints The process 'C:\Windows\system32\cmd.exe' failed with exit code 255.

To Reproduce

I have created a minimal example here: https://github.com/nnmm/test_ros_build. It's just a CI script and a PR that adds one package (created with ros2 pkg create).

See https://github.com/nnmm/test_ros_build/actions/runs/3091855260/jobs/5012624174

System (please complete the following information)

  • OS: Windows 2019
  • ROS 2 Distro: Foxy
nnmm commented

@christophebedard Do you have any hints what exit code 255 might mean?

@nnmm sorry, I don't :/ I've found debugging GitHub Windows CI to be quite frustrating unfortunately and have not had time to really dive deep into it.