-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Assign codeowners for no-errors-in-logs testcase #38812
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
Assign codeowners for no-errors-in-logs testcase #38812
Conversation
5abeeb8
to
ebd50a7
Compare
/test |
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.
Seems like a reasonable way to do this. Hopefully we don't have a flood of many failure logs, but even if we do it makes sense to start with the most common failures anyway.
Main note is about how reliable the slog extension is and also if we could do better for stable branches. Might even be worth splitting the cilium-agent changes into a separate dedicated PR just to simplify backporting, but that's not a big deal.
Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
Before, we were counting unique logs also taking into account timestamp. As a result, almost all errors were unique so it didn't give a good signal of which error is most common. Let's switch to counting unique errors only based on msg field instead. Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
For cases when log is produced by slog and debug logs are enabled, we have an additional path with location of source file. In case of no-errors-in-logs failure, we can attribute failure to CODEOWNERS of that file which generated error log. This will be especially useful for CI. Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
73ffea5
to
96496ea
Compare
/test |
@derailed Friendly ping :) |
To show how aggregation and reporting works, I've switched one log "Updating tunnel map entry" from Debug to Error.
Example run: https://github.com/cilium/cilium/actions/runs/14337153953/job/40187065813?pr=38812
Notice that
occurrences
are calculated better now, before because of timestamps we were not aggregating them together.Error is reported for datapath team, who is owner of file (
pkg/datapath/linux/node.go
) containing this log message: