-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
monitor: Output non-trace messages to stderr #18479
Conversation
When we use JSON output of cilium monitor, it would be useful if we could filter the output by the tools like JQ. However, since some of the non-JSON messages are generated through stdout, it ends up to the JSON parse error. Fix `cilium monitor` command to generate non-JSON messages to stderr. Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
/test Job 'Cilium-PR-K8s-1.21-kernel-5.4' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-Runtime-net-next' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-K8s-1.22-kernel-4.19' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
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.
🚢
Not sure why the Jenkins tests didn't start 🤔 I had to retrigger them individually. |
/test Job 'Cilium-PR-K8s-1.22-kernel-4.19' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
/test-1.22-4.19 |
I mistakenly trigger the CI, but the failing test was a known flake (#18447). So, now let me mark this PR as ready-to-merge. |
When we use JSON output of cilium monitor, it would be useful if we
could filter the output by the tools like JQ. However, since some of the
non-JSON messages are generated through stdout, it ends up to the JSON
parse error. Fix
cilium monitor
command to generate non-JSON messagesto stderr.
Signed-off-by: Yutaro Hayakawa yutaro.hayakawa@isovalent.com
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.