Dmitry Vyukov wrote:
> On Wed, Apr 25, 2018 at 1:15 PM, Tetsuo Handa
> <
penguin...@i-love.sakura.ne.jp> wrote:
> > Hello.
> >
> > Is it possible to append a column to the tables at
https://syzkaller.appspot.com/ ?
> >
> > Since there are many reports, it would be helpful to add keywords column (e.g.
> > file's pathname which seems to be the culprit, directory or subsystem's name which
> > seems to be involved, or a few words for problem description/status) controlled by
> > users (e.g. a syzbot commands for fulfilling the content of that column which is
> > overwritten by the latest post:
> >
> > #syz keywords: subsystem1, subsystem2
> > #syz keywords: path/to/file.c
> > #syz keywords: bisected
> > #syz keywords: patch needs reviewers
> > #syz keywords:
>
>
> Hi Tetsuo,
>
> I need to think more about this.
>
> Some assorted first thoughts:
>
> 1. Collecting/showing subsystem was already proposed by Guenter Roeck:
>
https://github.com/google/syzkaller/issues/544
OK.
>
> 2. Syzkaller already knows about "guilty" file (that's how it finds
> maintainers). File name should be mappable to a subsystem either via
> MAINTAINERS or with some custom path-based logic if MAINTAINERS gives
> too fine-grained split (MAINTAINERS has 1771 subsystems). We can tread
> this info to the UI. Though, there is currently no way to override it
> if it's not correct.
I wonder Maintainers column of the "All crashes" table is useful.
In most cases, same addresses are repeatedly shown for each row.
It can be removed or moved to {Status:,Reported-by:,First:,last:} area.
>
> 3. Can we extract more info automatically? My concern is that few
> people (like you) will set some tags for few bugs. But they generally
> won't be maintained, thus any reasoning based on manual tags won't be
> very useful. Consider that a kernel developer wants to look only on
> subsystem:CRYPTO bug, there can be lots of them, but untagged, so they
> will see 0 bugs and conclude they have nothing to do. Any automatic
> tagging is more valuable than manual (and less burden on humans).
Sorry. My concern is how to "manually compensate things" where automatic
processing is failing. Automatic tagging becomes valuable and less burden
on humans only if it is tagged appropriately. I want manual tagging.
>
> 4. How do you want to use these tags? What's the workflow?
For describing current status. Possibly including trivial mumble like
"$(MyName) is analyzing now" which do not worth spamming LKML.
>
> 5. Some of the examples you provided seem to relate to the "current
> status/progress" for a bug. What we do sometimes is the following (and
> I think it's a common practice for "bug tracking" systems). We briefly
> describe current status in the email thread (e.g. "patch X mailed,
> waiting for review"). Then when you later open it, you can see the
> last message and recover the current status. It's also useful for
> other people to see, e.g. to not do duplicate work. Will it work for
> your cases?
Current table lacks "Last modified" field which would be updated when
there is a news other than "the crash occurred again" (e.g. found a
syz/C reproducer, a message was posted). Therefore, I can't check
whether somebody is working on a report unless I open each entry.
>
> 6. Do we want to just show them? Or also somehow affect syzbot
> behavior? E.g. filtering by subsystem, or preventing future pings for
> this bug? How much of them need to be machine-understandable? My
> concern is that if they all are just unsystematic "plain English",
> then there will be no way for computer programs to understand them and
> change behavior. Do we want some system there?
This tag does not affect syzbot behavior.