No usable colcon exit/return code

asked 2020-04-16 05:19:55 -0600

manu8989 gravatar image

updated 2020-04-16 05:36:17 -0600

When I use "colcon build" everything is working in general. But I have some errors which say "ERROR:colcon.colcon_core.package_identification:Exception in package identification extension ..." and "ModuleNotFoundError: No module named 'xyz'" coming from the python setup script. Other modules are build after this errors.

The error itself is fixed in the meantime but my problem is that even with this errors colcon doens't return an error code. I always get the exit code 0 (echo $?) after building with colcon.

Does anyone know how to return exit codes with colcon?

edit retag flag offensive close merge delete