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
workflows: Fix Hubble flow capture in smoke tests #17137
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.
Another option would be to use the latest stable Hubble version per stable.txt
as documented in https://docs.cilium.io/en/v1.10/gettingstarted/hubble_setup/#install-the-hubble-client
Yep, I considered that, but as far as I can see, |
😬 Ouch I must have done a copy-pasta and forgot to update the IPv4 smoke test workflow file, apologies. |
e652e46
to
6d7383a
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.
Guess we're not moving to stable.txt
yet 🚀
Oh wait! What did I do 🤦 |
The step "Capture cilium-sysdump" currently fails in smoke tests with: gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now Error: Process completed with exit code 2. This is happening because we attempt to download the latest hubble binary at URL github.com/cilium/hubble/releases/download/latest and fail to decompress the downloaded file. That's because the downloaded file contains only "Not found". Indeed, URL cilium/hubble/releases/download/latest doesn't exist, the correct URL is cilium/hubble/releases/latest/download. Nevermind that other releases are downloaded at github.com/cilium/hubble/releases/download/$TAG ¯\_(ツ)_/¯ Fixes: 0cbb855 (".github: Capture hubble flows when smoke test fails") Signed-off-by: Paul Chaignon <paul@cilium.io>
6d7383a
to
a074a0a
Compare
It should be okay now :-) |
PTO = Pain To Overcome? |
Smoke tests are passing and reviews are in. Marking ready to merge. |
The step "Capture cilium-sysdump" currently fails in smoke tests with:
This is happening because we attempt to download the latest
hubble
binary at URL https://github.com/cilium/hubble/releases/download/latest/hubble-linux-amd64.tar.gz and fail to decompress the downloaded file. That's because the downloaded file contains only "Not found".Indeed, URL https://github.com/cilium/hubble/releases/download/latest/hubble-linux-amd64.tar.gz doesn't exist, the correct URL is https://github.com/cilium/hubble/releases/latest/download/hubble-linux-amd64.tar.gz. Never mind that other releases are downloaded at https://github.com/cilium/hubble/releases/download/$TAG/hubble-linux-amd64.tar.gz ¯_(ツ)_/¯
Fixes: #16968
/cc @christarazi