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

test/verifier: Sort BPF program names for stable output #31617

Merged
merged 1 commit into from Mar 27, 2024

Conversation

gentoo-root
Copy link
Contributor

Repeated runs of go test ./test/verifier print program complexity in random order. Sorting by external wrappers is not feasibly, because there are groups (each object file compiled with a certain set of defines) that need to be sorted individually. Make the output stable.

@gentoo-root gentoo-root added the release-note/ci This PR makes changes to the CI. label Mar 26, 2024
@gentoo-root
Copy link
Contributor Author

/test

@gentoo-root gentoo-root marked this pull request as ready for review March 26, 2024 18:56
@gentoo-root gentoo-root requested review from a team as code owners March 26, 2024 18:56
@gentoo-root gentoo-root requested review from rgo3 and brlbil March 26, 2024 18:56
Copy link
Contributor

@rgo3 rgo3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a small nit with no functional difference, so LGTM.

test/verifier/verifier_test.go Outdated Show resolved Hide resolved
Repeated runs of `go test ./test/verifier` print program complexity in
random order. Sorting by external wrappers is not feasibly, because
there are groups (each object file compiled with a certain set of
defines) that need to be sorted individually. Make the output stable.

Signed-off-by: Maxim Mikityanskiy <maxim@isovalent.com>
@gentoo-root
Copy link
Contributor Author

/test

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 27, 2024
@sayboras sayboras added this pull request to the merge queue Mar 27, 2024
Merged via the queue into cilium:main with commit 377df9b Mar 27, 2024
59 checks passed
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/ci This PR makes changes to the CI.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants