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: move 4.19 complexity tests to tests-datapath-verifier GHA workflow #24517
Conversation
fff56b8
to
221957b
Compare
It's being removed in #24517 Signed-off-by: André Martins <andre@cilium.io>
221957b
to
9265243
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry to be a bit of a pain, but this is highly suspicious to me. AFAIK, the complexity issue we were hitting was #17647 (comment), which never got fixed on our side and was happening for more than a year.
Did it get fixed in the kernel without us knowing about it? Is there something else that fixed it very recently on our side? Or is this test actually broken again and not testing what we think?
I'll try to check if something recent on the kernel side could explain this.
No problem at all, we need to know this stuff for sure. Take a look at this: https://github.com/cilium/cilium/actions/runs/4509588303/jobs/7939538892?pr=24538. This has much more detailed output and verifier stats for each tail call. It's based on the changes in this PR (adding 4.19 coverage) and loading all ELFs using Go. I'll add a uname at the start of the test run so we know exactly what we're dealing with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting my docs-structure hat on, and approving again
0502cce
to
359d398
Compare
637b583
to
989f6e2
Compare
The verifier is prone to produce several megabytes of log output when things break. Writing this into the test output makes it difficult to discern which tests actually fail. Only dump the last 10 lines of verifier output to stderr and write the full log to a file instead. Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
289be27
to
cbac0c4
Compare
/test-ci-verifier |
cbac0c4
to
ef7e456
Compare
The bpf_lxc complexity test fails on current 4.19 kernels due to a backported kernel fix [0] that increases complexity across the board. Our CI has so far not picked this up since the Jenkins VMs run a kernel without the backport. Reduce the tested feature set on affected 4.19 configurations so that we can use the new LVH / GHA based CI infrastructure. 0: #17647 (comment) Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
It seems the verifier issues with 4.19 are resolved when running complexity tests using LVH on that version. Let's cover it in the GitHub actions workflow instead of Ginkgo tests. Signed-off-by: Tobias Klauser <tobias@cilium.io>
With all verifier-test.sh logic ported to a Go-driven test in package test/verifier, this script is no longer being used. The functionality of check-complexity.sh is provided out-of-the-box by the Go verifier tests. Running `go test -v` displays verifier stats for each tail call in Cilium. Signed-off-by: Timo Beckers <timo@isovalent.com>
ef7e456
to
4d747e2
Compare
This is ✔️ on 4.19 now, with only cluster aware addressing disabled: https://github.com/cilium/cilium/actions/runs/4609988154/jobs/8147889395 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM (assuming the test commit is removed of course).
4d747e2
to
9c7c3b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from a docs perspective. 👍🏻
It seems the verifier issues with 4.19 are resolved when running complexity tests using LVH on that version. Let's cover it in the the GitHub actions workflow instead of Ginkgo tests.
Successful run with test commit: https://github.com/cilium/cilium/actions/runs/4489169184/jobs/7894672779