-
Notifications
You must be signed in to change notification settings - Fork 208
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
Add helm mode test coverage for AKS BYOCNI #1578
Conversation
bcf5605
to
ba7312d
Compare
ba7312d
to
3b4374c
Compare
3b4374c
to
e6aaf96
Compare
e6aaf96
to
d664742
Compare
d664742
to
e0d7b5e
Compare
e0d7b5e
to
9a2f21a
Compare
576fe97
to
8f6074e
Compare
8f6074e
to
b9a8ae7
Compare
b9a8ae7
to
aa5c95c
Compare
aa5c95c
to
b8428f0
Compare
b8428f0
to
36c2421
Compare
36c2421
to
6ac85eb
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.
Relay changes look good to me conceptually. I assume we're seeing the linked issues partially because port-forward is unreliable on AKS?
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.
Relay check changes LGTM, I like @viktor-kurchenko suggestion about splitting into two functions.
Fixes: #1566 Signed-off-by: Michi Mutsuzaki <[email protected]>
- Call ServerStatus with a shorter timeout than what's passed into waitForRelay so that we can call it multiple times before the context gets cancelled. Sometimes ServerStatus simply gets stuck until the context gets cancelled, in which case we end up calling ServerStatus only once before giving up. - Sometimes GetFlows() returns EOF even though we specify the follow flag. This seems to happen when both res.NumUnavailableNodes and res.NumConnectedNodes are nil. Add an extra check to make sure that Hubble Relay started receiving flows before returning from waitForRelay(). Here is a sample failure that was caused by GetFlows() returning EOF: https://github.com/cilium/cilium-cli/actions/runs/4928750068/jobs/8812246128#step:15:286 Signed-off-by: Michi Mutsuzaki <[email protected]>
6ac85eb
to
fecd9d4
Compare
fecd9d4
to
d9c019a
Compare
d9c019a
to
9cb9a27
Compare
removed the test commit. time to 🚀 |
Fixes: #1566
ended up adding an extra commit to make waitForRelay() more robust: e2e7202 cc @cilium/sig-hubble
Signed-off-by: Michi Mutsuzaki [email protected]