Coverage job fails for parking planner
Description
I suspect the compiler runs out of memory. The parking planner has a huge amount of autogenerated code. that's why -O3
is disabled for it in https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/blob/master/src/planning/parking_planner/CMakeLists.txt#L64
--- stderr: parking_planner
cc: fatal error: Killed signal terminated program cc1
compilation terminated.
make[2]: *** [CMakeFiles/parking_planner_callbacks.dir/build.make:67: CMakeFiles/parking_planner_callbacks.dir/parking_planner_generated/parking_planner_callbacks.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:273: CMakeFiles/parking_planner_callbacks.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---
Failed <<< parking_planner [24min 19s, exited with code 2]
How to Reproduce
Build coverage job
tools/coverage/coverage.sh
Current Behavior
Test is flaky
Expected behavior
Test is not flaky. Probably need to ensure enough memory is available on CI machines