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: Add integration tests that installs cilium and queries it using Hubble CLI #873
Conversation
b5a1744
to
348ee5d
Compare
2a05fdb
to
cdae2f3
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.
Awesome, thanks a lot for doing this!
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.
Thanks @chancez !
490e054
to
f1d553f
Compare
Hmm I can't see to get hubble to return any flows. I wonder if there's something wrong with relay and hubble in the values I'm using. |
250a51d
to
0730958
Compare
@chancez pushed a few commits on top of yours, tested locally with Also added the |
a070a2c
to
05c00bf
Compare
Added more commands to check flows at the post-test info gathering step. It seems if we query hubble status (over port-forward) at the end, the nodes are connected via relay and relay is reporting flows. If I then query for flows in the agent, it works, but if I query flows over the port-forward, it doesn't.
It's very strange. I thought it was relay, and it might be, but it's able to report back the status, so I'm not suspicious it's just the port-forward, or Hubble CLI itself. |
…ing hubble CLI Signed-off-by: Chance Zibolski <chance.zibolski@gmail.com>
1881d18
to
3cb88b2
Compare
Okay, I took my work-around from timescape and added it. The key is adding this, which makes the commands running in the step think they're running in a TTY, preventing Hubble CLI from incorrectly assuming no-TTY == data being fed in via stdin.
|
Not sure I follow. The workflow in question is renamed in this PR. We can ignore the required build in this PR for now and an admin can merge it once it's marked ready-to-merge. But before this PR is merged, I don't think we should change the the required settings, because all other PRs would then be unable pass the requirements (until this one here is merged). |
Ah you're right, I was juggling two PRs and thought I renamed it in the other PR. That being said, this PR is ready @gandro |
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.
Thanks! Updated the required pipelines, all open PRs will have to rebase. |
I noticed we don't have any tests that actually hit cilium, so this should fix that.