-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? # to your account
Connectivity tests fail when run in non cilium-test
namespace
#1109
Comments
thanks for highlighting this, I don't think it's intended π― |
@sayboras I think you missed some policies as it's still failing with the same policy drops. And I still have the same policy loaded with cilium-test hardcoded. I checked out latest:
and I ran make already. |
Those maybe?
|
Maybe we should convert one of the CI tests to use a test namespace name other than |
sorry all, I thought I removed the label in match selector before |
Actually, we need those dummy labels, so that the value can be updated dynamically. So it could be something else, let me take a deeper look |
This should be fixed as part of recent PR. |
This is to make sure that we have the coverage of running tests in a namespace other than cilium-test. Relates: cilium#1109 (comment) Signed-off-by: Tam Mach <tam.mach@cilium.io>
This is to make sure that we have the coverage of running tests in a namespace other than cilium-test. Relates: #1109 (comment) Signed-off-by: Tam Mach <tam.mach@cilium.io>
This is to make sure that we have the coverage of running tests in a namespace other than cilium-test. Relates: cilium/cilium-cli#1109 (comment) Signed-off-by: Tam Mach <tam.mach@cilium.io>
The connectivity tests consistently fail when run in a namespace other than
cilium-test
:I've rerun with
-p
to pause on the first failure and collected a sysdump:cilium-sysdump-20220926-205342.zip
This is with Cilium CLI d9371d3.
Investigation
cilium monitor
shows this is caused by policy drops:Looking at the BPF policy map for that endpoint, it is indeed missing a rule to allow on that port:
Dumping the only CNP in that namespace reveals the issue:
Root Cause
It seems commit fc192b0 (and maybe others) added policies with the
cilium-test
hardcoded. I'm not sure what the intent was here given they are CNPs anyway so the namespace is implicit.cc @sayboras
The text was updated successfully, but these errors were encountered: