Skip to content
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

syz-manager: never save crashes locally if dashboard is specified #5425

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

a-nogikh
Copy link
Collaborator

There's 0 chance we will ever look at those.
Currently, they only litter the web dashboards of syzbot instances.

There's 0 chance we will ever look at those.
Currently, they only litter the web dashboards of syzbot instances.
@a-nogikh a-nogikh requested a review from dvyukov October 22, 2024 14:18
}
// Don't store the crash locally even if we failed to upload it.
// There is 0 chance that one will ever look in the crashes/ folder of those instances.
return mgr.cfg.Reproduce && resp.NeedRepro
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That helped to have at least some visibility into such errors. If this happens more often than episodically, it's a real problem (we lost bugs/repros).
How can we keep some visibility into these errors? Say, if the rate suddenly increases?
Is using log.Errorf above a good idea? Or will that produce too many alerts?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently we can also estimate the rate retroactively. E.g. check now how may was lost in the past year.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to estimate the rate, it's more reliable to look at the Cloud logs. I've searched failed to report crash to dashboard across all syzbot instances and it showed 35 times over the last 7 days (i.e. 5 times a day on average).

If we turn them to log.Errorf, that'd be quite a few. Most of them are operating on too many entity groups in a single transaction, so maybe we could address that and the rate will be okay...

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We never really grep these logs for messages, but we should, filed #5428.
Grepping logs is also fragile, tomorrow somebody decides to improve the error message and all alerting falls apart. Error messages are changed all time, just for yesterday: #5422, #5423.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants