IAP GITLAB

coverage test fails after upgrade of CI containers

since the upgrade of the CI containers to ubuntu 22.04 the coverage test fails with an error like this

geninfo: WARNING: /builds/2/corsika/build/externals/cnpy/CMakeFiles/cnpy.dir/cnpy.cpp.gcno: Overlong record at end of file!
geninfo: WARNING: cannot find an entry for aligned_buffer.h##eccc04943c4708c9939cfb752e0b83d0.gcov in .gcno file, skipping file!

The reason seems to be that the current coverage software (lcov 1.14) does not work with gcc 9+ (see here).

The solution is to either run the coverage test with an old container or upgrade lcov.