-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors in package.xml
doesn't stop action, failed dependency fullfilment revealed later at build
#954
Comments
This is because of the action-ros-ci/src/action-ros-ci.ts Line 205 in 2209690
There's a reason why we have that, but I can't remember exactly why right now. I'll look into it later this week. Maybe this could depend on an action input. |
I'm having a bit of a hard time understanding what's going on. Can you provide more information about the error in the From the build failure, it looks like |
It's simple: my |
Huh, I just assume that, while not ideal/correct, it's fine, since I see redundant dependency declarations all the same. However, you are right, REP-149 does say that you shouldn't combine
I guess "cannot" there is interpreted and reported as an error by So I went looking through the git history, and the // For "latest" builds, rosdep often misses some keys, adding "|| true", to
// ignore those failures, as it is often non-critical. Some options:
What do you think? |
You're asking about my expert informed opinion, why I'm just dumb forced user of ROS2 (which I don't even like) and I accidentally found this failed on CI, instead of spending hours cracking my head why CMake fails on missing config option while the build works locally. My uninformed bet based on hunch coming from experience would be to remove |
Description
This failure in invocation of
bash -c,./install_rosdeps.sh iron
continues w/o stopping.Later CMake fails as cannot find config files for dependencies required.
Expected Behavior
Action shall stop on incorrect
package.xml
and let CI report this as error.Actual Behavior
As shown above, it carries on despite mistake in
packages.xml
then fails CMake with cryptic:To Reproduce
packages.xml
System (please complete the following information)
** For ROS 2 bugs - please attach a VCS.repos or Dockerfile if possible to help us reproduce the environment **
Additional context
We're heavy user of your actions, we rely on their trustworthiness. This problem fails the trust and takes time of inexperienced engineers to figure out what they did wrong.
The text was updated successfully, but these errors were encountered: