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

vendor,test: Updated CoverBee to v0.3.1 to resolve panic during testing #24094

Merged

Conversation

dylandreimerink
Copy link
Member

We were getting panics in the CoverBee code when coverage testing certain test programs. It turns out that this was due to "dead code" which the verifier would never evaluate, which CoverBee did not expect to be possible.

This version of CoverBee fixes the issue without additional changes.

Fixes: #24053

Fixed panic when generating code coverage report of eBPF tests

@dylandreimerink dylandreimerink added the release-note/misc This PR makes changes that have no direct user impact. label Mar 1, 2023
@dylandreimerink dylandreimerink requested a review from a team as a code owner March 1, 2023 07:44
@tklauser tklauser added the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Mar 1, 2023
@tklauser
Copy link
Member

tklauser commented Mar 1, 2023

@dylandreimerink it looks like this needs a rebase now that Go 1.20 is used in master.

We were getting panics in the CoverBee code when coverage testing
certain test programs. It turns out that this was due to "dead code"
which the verifier would never evaluate, which CoverBee did not expect
to be possible.

This version of CoverBee fixes the issue without additional changes.

Fixes: cilium#24053
Signed-off-by: Dylan Reimerink <dylan.reimerink@isovalent.com>
@dylandreimerink dylandreimerink force-pushed the feature/coverbee-handle-deadcode branch from 579d596 to f339933 Compare March 1, 2023 11:30
@tklauser tklauser removed the dont-merge/needs-rebase This PR needs to be rebased because it has merge conflicts. label Mar 1, 2023
@tklauser
Copy link
Member

tklauser commented Mar 1, 2023

BPF unit tests passed on #23291 with this change pulled in: https://github.com/cilium/cilium/actions/runs/4302018934

Marking as ready to merge to unblock #23291.

@tklauser tklauser added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 1, 2023
@sayboras sayboras merged commit accd342 into cilium:master Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI: ebpf unit tests fail with Ubuntu 22.04.1 kernel 5.15
3 participants