My builds hang under some rather specific conditions:
Bitbucket docker based CI
Base image docker:git
Custom image built inside a docker:git container
Custom container run from inside docker:git container
Having more than the first two parameters in my yaml
building with cmake coverage flags
tag 0.3.8
Most of the time the error is a timeout after two hours but once I had an error of out of memory. Builds work just fine on my local machine and in the same container built in the CI pipeline, but not in bitbucket's CI pipeline. Any ideas what might be causing it, or ways to debug it?
Looks like it wasn't so much this library that was the problem but its use of templates which significantly increased the memory requirements of the build pipeline and the build pipeline not having enough memory.
My builds hang under some rather specific conditions:
Most of the time the error is a timeout after two hours but once I had an error of out of memory. Builds work just fine on my local machine and in the same container built in the CI pipeline, but not in bitbucket's CI pipeline. Any ideas what might be causing it, or ways to debug it?
CMake:
params.yaml:
Build command:
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_FLAGS="${CMAKE_CXX_FLAGS} --coverage" -DCMAKE_C_FLAGS="${CMAKE_C_FLAGS} --coverage"