Skip to content
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

ci: coverage fails on debian:testing runners #1205

Open
dgreatwood opened this issue Apr 14, 2024 · 3 comments · May be fixed by #1188
Open

ci: coverage fails on debian:testing runners #1205

dgreatwood opened this issue Apr 14, 2024 · 3 comments · May be fixed by #1188
Assignees

Comments

@dgreatwood
Copy link
Contributor

gcc produces this error, during the "coverage" phase:

geninfo: ERROR: (unused) 'exclude' pattern '/github/home/.cache/*' is unused.
Excluding file '/usr/include/c++/13/bits/shared_ptr.h'
	(use "geninfo --ignore-errors unused ..." to bypass this error)

While clang produces this error:

geninfo cmd: '/usr/bin/geninfo . --output-filename coverage.info --gcov-tool /github/home/.local/bin/cov.sh --exclude /usr/* --exclude /github/home/.cache/* --exclude */tests/* --exclude */subprojects/*'
Found LLVM gcov version 16.0.6, which emulates gcov version 4.2.0
geninfo: ERROR: Your toolchain version is too old and is no longer supported by lcov.  Please upgrade - or use an older lcov release.

There are a couple of warnings as well, which look unimportant as far as I can see.

Could someone (@Tachi107 ?) fix these errors? Otherwise I guess we could remove debian:testing from the linux.yaml matrix.

Thanks!

@Tachi107 Tachi107 self-assigned this Apr 17, 2024
@Tachi107
Copy link
Member

Hi Duncan, yeah, I'm aware of those issues and I have attempted fixing them in #1188, but it's far from trivial. Lcov 2.0 introduced some changes that make it incompatible with our CI pipeline, and trying to use gcov directly seemingly doesn't work with Codecov even when following the official documentation. I'm a bit lost and I'm just waiting for Codecov to publish a working solution ¯\_(ツ)_/¯

@dgreatwood
Copy link
Contributor Author

dgreatwood commented Apr 19, 2024 via email

@Tachi107
Copy link
Member

I've disabled the Coverage step for debian:testing runners in aa2a9f2, but I'll keep this issue open to track the actual issue.

@Tachi107 Tachi107 changed the title debian:testing github test runners all fail ci: coverage fails on debian:testing runners Apr 27, 2024
@Tachi107 Tachi107 linked a pull request Apr 27, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants