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

.github/workflows: run datapath complexity tests directly in VM #24117

Merged
merged 1 commit into from Mar 22, 2023

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Mar 1, 2023

Now that the complexity-test images are available on quay [1][2], we can use these to run the complexity tests directly within the VM instead of running a docker container with the test-verifier image.

[1] cilium/little-vm-helper-images#42
[2] https://quay.io/repository/lvh-images/complexity-test

@tklauser tklauser added area/CI-improvement Topic or proposal to improve the Continuous Integration workflow release-note/ci This PR makes changes to the CI. labels Mar 1, 2023
@tklauser tklauser requested review from a team as code owners March 1, 2023 13:44
@tklauser tklauser requested review from brlbil, nebril and brb March 1, 2023 13:44
@tklauser tklauser marked this pull request as draft March 1, 2023 13:47
@tklauser tklauser force-pushed the pr/tklauser/complexity-test-run-in-vm branch 3 times, most recently from 1ce02c1 to 789ed9a Compare March 2, 2023 11:09
@tklauser tklauser force-pushed the pr/tklauser/complexity-test-run-in-vm branch from 789ed9a to 84ed7d1 Compare March 17, 2023 17:14
Now that the complexity-test images are available on quay [1][2],  we
can use these to run the complexity tests directly within the VM instead
of running a docker container with the test-verifier image.

[1] cilium/little-vm-helper-images#42
[2] https://quay.io/repository/lvh-images/complexity-test

Signed-off-by: Tobias Klauser <tobias@cilium.io>
@tklauser tklauser force-pushed the pr/tklauser/complexity-test-run-in-vm branch from 84ed7d1 to d5214b8 Compare March 17, 2023 17:20
@tklauser
Copy link
Member Author

Successful runs with test commit: https://github.com/cilium/cilium/actions/runs/4450012129?pr=24117

@tklauser tklauser marked this pull request as ready for review March 17, 2023 18:57
@tklauser tklauser force-pushed the pr/tklauser/complexity-test-run-in-vm branch from d5214b8 to cde8ee6 Compare March 17, 2023 19:01
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

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

🚀 🌔

@tklauser tklauser added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Mar 21, 2023
Comment on lines +211 to +212
# workaround to use correct ip binary. TODO: this should be fixed in the complexity-test image.
rm /usr/bin/ip
Copy link
Member Author

Choose a reason for hiding this comment

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

@borkmann borkmann merged commit 4ca9c8e into master Mar 22, 2023
41 checks passed
@borkmann borkmann deleted the pr/tklauser/complexity-test-run-in-vm branch March 22, 2023 15:42
tklauser added a commit that referenced this pull request Mar 22, 2023
… tests

Follow-up for #24117 now that the complexity-test image correctly
replaces the ip binary with the one from the Cilium image, see
cilium/little-vm-helper-images#50

Signed-off-by: Tobias Klauser <tobias@cilium.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/CI-improvement Topic or proposal to improve the Continuous Integration workflow 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

5 participants