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: Use new test-verifier image in K8sVerifier #16231
Conversation
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.
You could also remove test/k8sT/manifests/test-verifier.yaml
from the image update scripts here:
used_by=($(git grep -l CILIUM_BUILDER_IMAGE= images/*/Dockerfile) "test/k8sT/manifests/test-verifier.yaml" "test/k8sT/manifests/demo-customcalls.yaml") |
Until now, K8sVerifier was using the
cilium-builder
image to build the datapath and runverifier-test.sh
. However, with the new image builds, K8sVerifier is now the only consumer ofcilium-builder
in the test VMs. If we replacecilium-builder
with a K8sVerifier-specific image, we can stop pre-pullingcilium-builder
in the VM image.
It looks like the cilium-builder
image is still used by another test manifest:
image: quay.io/cilium/cilium-builder:330ca61256fedd7b8cbfc34b31316c97d1880876@sha256:e535425dd77cf29f289fa402d8811491617e2b8fe741db4a36ca6acc590006c1 |
So I think we cannot stop pre-pulling it in the VM image yet after this PR. Or are we not running that test using the test VMs?
4e8d403
to
585a7f0
Compare
585a7f0
to
1691795
Compare
Until now, K8sVerifier was using the cilium-builder image to build the datapath and run verifier-test.sh. Having a K8sVerifier-specific image also allows us to include a patch for the tc binary, to increase the maximum size of the verifier log buffer. In the K8sVerifier test, we load all BPF programs in verbose mode, so the log buffer is always needed (vs. only in case of retry following a load error usually). A small log buffer can lead to a load failure that is actually a false positive (it's just the log buffer being too small and not an actual issue with the BPF program). Signed-off-by: Paul Chaignon <paul@cilium.io>
1691795
to
4b1bb3a
Compare
test-1.20-4.19 |
test-1.21-4.9 |
test-1.16-netnext |
test-1.19-5.4 |
k8s-1.19-kernel-5.4 hit known flake #15575. Other CI jobs are passing. Reviews are in. Marking as ready to merge. |
Until now, K8sVerifier was using the cilium-builder image to build the datapath and run verifier-test.sh. Having a K8sVerifier-specific image also allows us to include a patch for the tc binary, to increase the maximum size of the verifier log buffer. In the K8sVerifier test, we load all BPF programs in verbose mode, so the log buffer is always needed (vs. only in case of retry following a load error usually). A small log buffer can lead to a load failure that is actually a false positive (it's just the log buffer being too small and not an actual issue with the BPF program).