kernelci.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: George Kennedy <george.kennedy@oracle.com>
To: Dmitry Vyukov <dvyukov@google.com>
Cc: kernelci@groups.io, oswalpalash@gmail.com,
	syzkaller <syzkaller@googlegroups.com>,
	Shuah Khan <skhan@linuxfoundation.org>,
	automated-testing@yoctoproject.org,
	Vegard Nossum <vegard.nossum@oracle.com>
Subject: Re: [Automated-testing] syzkaller reproducers
Date: Mon, 16 May 2022 08:42:00 -0400	[thread overview]
Message-ID: <a308b5c3-b339-216a-b338-935b45508697@oracle.com> (raw)
In-Reply-To: <CACT4Y+av8=XtWwhYJ2cRJUUq+kp5dXNBsb2mdXDF4o320owGJw@mail.gmail.com>



On 5/16/2022 3:41 AM, Dmitry Vyukov wrote:
> On Fri, 13 May 2022 at 14:16, Dmitry Vyukov <dvyukov@google.com> wrote:
>> On Fri, 13 May 2022 at 13:35, George Kennedy <george.kennedy@oracle.com> wrote:
>>>>> + Shuah, George and mailing lists
>>>>>
>>>>> Google groups did not CC all of the members in the thread for my
>>>>> reply. It would be valuable to get everyone's feedback on this thread.
>>>>>
>>>>> On Sat, May 7, 2022 at 11:34 PM Palash <oswalpalash@gmail.com> wrote:
>>>>>> Hello all,
>>>>>>
>>>>>> Reviving this old thread. Do we think there's value in automatically publishing a C reproducer(if it exists) whenever syzkaller determines a reported bug is patched and fixed?
>>>>>> This allows us to track these reproducers more diligently and we only have reproducers for the bugs that have been patched.
>>>>>> If this is valuable, then we could think about answering these questions -
>>>>>> 1. Is there a particular way we want to format the reproducers? (Example : SKIP/OK/FAIL/TIMEOUT (if output is possible))
>>>>>> 2. Where do we want to submit the reproducers to be added to the testing project and what is the process we want to use?
>>>>>> 3. Is it valuable to record the crash report information for the original fuzzer crash when the c reproducer is filed to add context to it; in case developers want to troubleshoot? This could save valuable debugging time.
>>>>>>
>>>>>> Happy to contribute on this change to the upstream fuzzing system.
>>>> More automation is definitely welcome.
>>>> I am not sure how widely used is the current base of reproducers. But
>>>> George keeps asking for updates and I keep failing at doing it in a
>>>> timely manner.
>>> We run the ~6000 reproducers as a regression test. Test takes ~4 hours.
>>>
>>> Having the reproducer before there is a patch is valuable to us as we
>>> know whether or not our distro branches have the same failure.
>>>
>>> As a way to reduce test time, some sort of repro classification would be
>>> helpful (i.e. open/closed/invalid).
>>>
>>> For crash troubleshooting info we try to match the crash string with
>>> syzbot's crash string.
>>>
>>> Thank you,
>>> George
>>>> It would be easiest for the syzbot app to upload reproducers to a GCS
>>>> bucket. But I am not sure what's a good format for this. Everything I
>>>> can think of is somewhat clumsy. It could upload weekly archives, but
>>>> then there is an issue of discoverability of new archives (since GCS
>>>> is HTTP rather than FTP).
>>>>
>>>> Not sure if it's feasible to give it an auth token for a github repo
>>>> to push individual files as we do now.
>>>>
>>>> Re format. Bonus points if the system will be able to regenerate and
>>>> update meta-information. The chances that we will come up with the
>>>> ultimately right format from day 1 are low. But that may complicate
>>>> the implementation.
>> The most feasible for syzbot automation seems to be to push to a
>> public GCS bucket and then users will need to do "gsutil rsync" to
>> download updates.
>>
>> Or another option is to expose a new json API to get reproducers list
>> and then to fetch individual reproducers. Though this will need some
>> custom tooling on the user side to fetch updates.
>>
>> Re exporting status open/closed/invalid and e.g. fixing patch, that
>> would also be more natural to expose via the API since this
>> information changes dynamically.
>>
>> It's also possible to use both. Namely, reproducers are uploaded to
>> the GCS bucket and each repro file contains just some bug ID. Then the
>> bug ID can be used to fetch any additional dynamically changing info
>> via json API.
>
> I've pushed a new drop of 898 reproducers:
> https://github.com/dvyukov/syzkaller-repros/commit/026c8891a19e672bba71481be250080e1a302ed8

Thank you,
George


  reply	other threads:[~2022-05-16 12:42 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-08 11:46 syzkaller reproducers dvyukov
2019-10-08 12:16 ` Dmitry Vyukov
2019-10-08 15:00   ` shuah
2019-10-11 17:38     ` shuah
2019-10-11 18:02       ` [Automated-testing] " Cyril Hrubis
2019-10-11 19:11         ` shuah
2019-10-14  8:54           ` Cyril Hrubis
2019-10-14 11:19             ` Dmitry Vyukov
2019-10-15 13:04               ` George Kennedy
2019-10-15 13:44                 ` Cyril Hrubis
2019-10-23 13:24                   ` Dmitry Vyukov
2019-12-06 20:06                 ` George Kennedy
2020-01-27 14:19                   ` George Kennedy
2020-01-27 15:26                     ` Dmitry Vyukov
2020-01-27 17:06                       ` George Kennedy
2020-03-03  8:45                         ` Dmitry Vyukov
2020-03-03 13:46                           ` George Kennedy
2020-03-13 15:59                           ` shuah
     [not found]                             ` <cd301033-f152-4eeb-bce3-2d95f39a05fbn@googlegroups.com>
2022-05-12 18:05                               ` Palash Oswal
2022-05-13  9:29                                 ` Dmitry Vyukov
2022-05-13 11:35                                   ` George Kennedy
2022-05-13 12:16                                     ` Dmitry Vyukov
2022-05-16  7:41                                       ` Dmitry Vyukov
2022-05-16 12:42                                         ` George Kennedy [this message]
2022-05-16 16:51                                         ` Shuah Khan
2022-05-17  9:12                                           ` Dmitry Vyukov
2019-10-08 16:35   ` George Kennedy
2019-10-08 12:37 ` [Automated-testing] " Richard Palethorpe
2019-10-08 12:53   ` Dmitry Vyukov
2019-10-08 13:14     ` Richard Palethorpe
2019-10-08 13:22       ` Dmitry Vyukov
2019-10-10 14:27 ` Cyril Hrubis
2019-10-10 14:30   ` Dmitry Vyukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a308b5c3-b339-216a-b338-935b45508697@oracle.com \
    --to=george.kennedy@oracle.com \
    --cc=automated-testing@yoctoproject.org \
    --cc=dvyukov@google.com \
    --cc=kernelci@groups.io \
    --cc=oswalpalash@gmail.com \
    --cc=skhan@linuxfoundation.org \
    --cc=syzkaller@googlegroups.com \
    --cc=vegard.nossum@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).